package com.xiaohao.communication.service;

import com.xiaohao.communication.bean.ExpertInfo;
import com.xiaohao.communication.dao.UserDetailInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserDetailInfoService {


    @Autowired
    UserDetailInfoDao userDetailInfoDao;


    // 添加手机号
    public void addPhone(int id ,String phoneNumber){
        userDetailInfoDao.addPhone(id,phoneNumber);
    }

    //添加 专家认证
    public void addExpert(ExpertInfo expertInfo){
        userDetailInfoDao.addExpert(expertInfo);
    }


}
